html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    background: url(/assets/images/login_bg.jpg) no-repeat center;
    background-size: cover;
}

.header {
    width: 1200px;
    margin: 20px auto 0;
}

.loginAndRegBOX {
    width: 400px;
    height: 310px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.title {
    height: 60px;
    background: url(/assets/images/login_title.png) no-repeat center;
}

#reg-form {
    display: none;
}


/* 登录注册模块的样式 */

.layui-form-item {
    position: relative;
}

.layui-input {
    width: 340px;
    padding-left: 32px;
}

.layui-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-form {
    padding: 0 30px;
}

#link_reg,
#link_login {
    display: flex;
    /* justify-content 用于设置或检索弹性盒子元素在主轴（横轴）方向上的对齐方式。 */
    justify-content: flex-end;
}